package demo;

import custom.TestCustom;
import custom.TestCustomValidHandle;
import custom.TestParam;
import top.lingkang.finalvalidated.core.FinalValidator;

/**
 * @author lingkang
 * Created by 2024/3/5
 */
public class Demo05 {

    public static void main(String[] args) throws Exception {
        TestParam param = new TestParam();
        FinalValidator.init();
        FinalValidator.addCustom(TestCustom.class, TestCustomValidHandle.class);
        FinalValidator.valid(param);
    }

}
